package com.xbx.admin.entity.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 菜单列表
 *
 * @author 89005691
 * @create 2018-09-03 15:44
 */
@Data
public class Module {

    @ApiModelProperty(value = "菜单ID", example = "1")
    private Long moduleId;

    @ApiModelProperty(value = "菜单名称", example = "权限管理")
    private String moduleName;

    @ApiModelProperty(value = "菜单code", example = "xxx")
    private String moduleCode;

    @ApiModelProperty(value = "菜单图标/样式", example = "el-icon-menu")
    private String moduleIcon;

    @ApiModelProperty(value = "菜单类型", example = "1 菜单  3 菜单子项 4 页面按钮")
    private Byte moduleType;

    @ApiModelProperty(value = "跳转路径", example = "/userController/selectUserList")
    private String actionUrl;

    @ApiModelProperty(value = "排序", example = "1 从小到大排序")
    private Byte sort;

    @ApiModelProperty(value = "菜单子项", example = "")
    private List<ModuleItem> items;

    @ApiModelProperty(value = "是否选中", example = "0 未选中 1 选中")
    private Boolean checked;
}
